<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="common/common::common('操作日志记录管理')"/>
<script src="/static/monitor/log/index.js" charset="utf-8"></script>
<style>
    .layui-anim-upbit {
        text-align: center;
    }
</style>
</head>
<body>

<div class="data_div">
    <div class="tool-bar-head">
        <div class="tool-bar-head-right" style="width: 100%">
            <form class="layui-form layui-form-pane" style="height: 50%" onsubmit="javascript:return false;">
                <div class="layui-form-item">
                    <label class="layui-form-label">模块标题</label>
                    <div class="layui-input-inline">
                        <input class="layui-input" id="name" name="name" onchange="javascript:$('#searchBtn').click();">
                    </div>
                    <div class="layui-input-inline">
                        <select id="businessType" name="businessType"
                                th:with="type=${@dict.getType('log_business_type')}">
                            <option value="">请选择操作类型</option>
                            <option th:each="dict : ${type}"
                                    th:text="${dict.dictLabel}"
                                    th:value="${dict.dictValue}"></option>
                        </select>
                    </div>
                    <div class="layui-input-inline">
                        <select id="status" name="status"
                                th:with="type=${@dict.getType('operation_status')}">
                            <option value="">请选择操作状态</option>
                            <option th:each="dict : ${type}"
                                    th:text="${dict.dictLabel}"
                                    th:value="${dict.dictValue}"></option>
                        </select>
                    </div>
                    <div class="layui-input-inline" style="width:0px;">
                        <button id="searchBtn" class="layui-btn layui-btn-normal" data-type="reload">搜索</button>
                    </div>
                </div>
            </form>
        </div>
    </div>

    <!-- 表格 -->
    <div class="layui_table">
        <table class="layui-hide" id="layTable" lay-filter="operLogLay"></table>
        <div id="layPage"></div>
    </div>
</div>

<!-- 操作工具栏 -->
<script type="text/html" id="toolbarHandle"> <!-- shiro:hasPermission="base:log:see" -->
    <a  class="tool-bar-btn see-button" lay-event="see">查看</a>
</script>

</body>
</html>